package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.BusinessRecordPo;

import java.util.Date;
import java.util.List;

/**
 * @Author zhangwenxiong
 * @Date 2020/12/29 11:21
 * @Version 1.0
 */
public interface BusinessRecordService {

    BusinessRecordPo getByNo(BusinessRecordPo businessRecordPo);

    void addRecord(BusinessRecordPo businessRecordPo);

    void updateRecord(BusinessRecordPo businessRecordPo);

    List<BusinessRecordPo> queryBusinessRecordPoByStatus(String status, Date beginTime, Date endTime, int page, int pageSize);

    Integer countBusinessRecordPoByStatus(String status, Date beginTime, Date endTime);

    void updateRecordsStatus(List<BusinessRecordPo> businessRecordPos);

    BusinessRecordPo isRepeate(BusinessRecordPo businessRecordPo);

}
